package com.soul.dubbo.api.db;

import com.soul.model.db.BlackList;
import com.soul.model.vo.PageResult;

import java.util.List;

/**
 * @author mdoya
 * @version 1.0
 * @description:
 */
public interface BlackListApi {
    /**
     * 根据用户id查询被拉黑名单用户id
     *
     * @param userId 用户id
     * @return
     */
    PageResult<BlackList> findBlacklistBatchIds(Long userId, Long page, Long pagesize);

    /**
     *  黑名单 - 移除
     * @param uid 黑名单用户id
     * @return
     */
    void deleteBlackByUid(BlackList blackList);
}
